[iobroker-bot] Add tier information to io-package.json #369
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
German description can be found below
Deutsche Beschreibung weiter unten
General information
This PR has been created by iobroker-bot. Please review the changes carefully and merge the PR if the review is ok.
Feel free to contact me (@ioBroker-Bot) if you have any questions or feel that a PR is faulty. Please open an issue at repository https://github.com/ioBroker/ioBroker.repochecker to report a faulty PR.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@mcm1957 for evidence
Changes provided by this PR
This PR fixes the warning [W1035] Attribute common.tier is missing in io-package.json reported by the ioBroker repository checker.
Background
The
common.tierattribute inio-package.jsondefines the start order of adapter instances. Allowed values are 1, 2, or 3:Setting this attribute ensures that adapter instances are started in the correct order during system initialization, which is important for adapters that depend on other adapters being available.
More information about io-package.json attributes can be found in the ioBroker documentation.
Changes
This PR adds the
common.tierattribute toio-package.jsonwith the appropriate default value based on the adapter type:visualization,visualization-icons,visualization-widgets) receive tier 3The attribute is placed after
loglevelif it exists, or beforelicense/licenseInformationotherwise, following the standard io-package.json structure.Deutsche Beschreibung
Allgemeine Informationen
Dieser PR wurde von iobroker-bot erstellt. Bitte die Änderungen sorgfältig prüfen und den PR bei erfolgreicher Prüfung mergen.
Bei Fragen oder falls ein PR fehlerhaft erscheint, bitte mich (@ioBroker-Bot) kontaktieren. Bitte ein Issue im Repository https://github.com/ioBroker/ioBroker.repochecker öffnen, um einen fehlerhaften PR zu melden.
Und VIELEN DANK für die Pflege dieses Adapters von mir und allen Nutzern.
Gemeinsam für die beste Benutzererfahrung arbeiten.
Euer
ioBroker Check and Service Bot
@mcm1957 zur Kenntnisnahme
Durch diesen PR bereitgestellte Änderungen
Dieser PR behebt die Warnung [W1035] Attribute common.tier is missing in io-package.json, die vom ioBroker Repository Checker gemeldet wurde.
Hintergrund
Das Attribut
common.tierin derio-package.jsondefiniert die Startreihenfolge von Adapter-Instanzen. Zulässige Werte sind 1, 2 oder 3:Das Setzen dieses Attributs stellt sicher, dass Adapter-Instanzen während der Systeminitialisierung in der richtigen Reihenfolge gestartet werden, was wichtig für Adapter ist, die von der Verfügbarkeit anderer Adapter abhängen.
Weitere Informationen zu io-package.json-Attributen finden sich in der ioBroker-Dokumentation.
Änderungen
Dieser PR fügt das Attribut
common.tierzurio-package.jsonmit dem passenden Standardwert basierend auf dem Adapter-Typ hinzu:visualization,visualization-icons,visualization-widgets) erhalten Tier 3Das Attribut wird nach
loglevelplatziert, falls vorhanden, oder vorlicense/licenseInformation, entsprechend der Standard-io-package.json-Struktur.Template: W1035-addTier